/**
 * output package name
 */
package com.kingdee.eas.ec.garden.settle;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class OwnerMainEnum extends StringEnum
{
    public static final String OWNER_VALUE = "0";
    public static final String MAIN_VALUE = "1";

    public static final OwnerMainEnum Owner = new OwnerMainEnum("Owner", OWNER_VALUE);
    public static final OwnerMainEnum Main = new OwnerMainEnum("Main", MAIN_VALUE);

    /**
     * construct function
     * @param String ownerMainEnum
     */
    private OwnerMainEnum(String name, String ownerMainEnum)
    {
        super(name, ownerMainEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static OwnerMainEnum getEnum(String ownerMainEnum)
    {
        return (OwnerMainEnum)getEnum(OwnerMainEnum.class, ownerMainEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(OwnerMainEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(OwnerMainEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(OwnerMainEnum.class);
    }
}